<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
 
// import Joomla view library
jimport('joomla.application.component.view');
 
/**
 * HelloWorlds View
 */
class SEventViewSettings extends JView
{
        /**
         * HelloWorlds view display method
         * @return void
         */
        function display($tpl = null) 
        {   
        		$model = $this->getModel();
        		$event_types = $model->getItems();
        		$this->assignRef('event_types', $event_types);
        		
        		$pagination = $model->getPagination();
        		$this->assignRef('pagination', $pagination);
        		
                // Set the toolbar
                $this->addToolBar();
 
                // Display the template
                parent::display($tpl);
        }
        
        /**
         * Setting the toolbar
         */
        protected function addToolBar()
        {
        	JToolBarHelper::title(JText::_('COM_SEVENT_MANAGER_SETTINGS'));
        	//JToolBarHelper::save('helloworld.save');
        	//JToolBarHelper::cancel('helloworld.cancel', $isNew ? 'JTOOLBAR_CANCEL' : 'JTOOLBAR_CLOSE');
        }
}